import request from '@/utils/request'
//民主测评
export function getYearInfoList(data) {
  return request({
    url: '/gpfPchYearInfo/list',
    method: 'post',
    data
  })
}
export function getYearInfoListNoPage(data) {
  return request({
    url: '/gpfPchYearInfo/listNoPage',
    method: 'post',
    data
  })
}


export function createYearInfo(data) {
  return request({
    url: '/gpfPchYearInfo/create',
    method: 'post',
    data
  })
}

export function updateYearInfo(data) {
  return request({
    url: '/gpfPchYearInfo/update',
    method: 'put',
    data
  })
}


export function deleteYearInfo(data) {
  return request({
    url: '/gpfPchYearInfo/delete?idlist='+data,
    method: 'get',

  })
}

